MAINTAINERCLEANFILES = Makefile.in

MODULE = tvshow

# data files for the module
filesdir = $(libdir)/emc/modules/

# the module .so file
INCLUDES = -I. \
           -I$(top_srcdir) \
           -I$(top_srcdir)/src/modules/$(MODULE) \
           -I$(top_srcdir)/src/bin \
           -I$(top_srcdir)/src/modules \
           @ELEMENTARY_CFLAGS@

if USE_MODULE_TVSHOW

pkgdir = $(libdir)/emc/modules

pkg_LTLIBRARIES = video_tvshow.la

video_tvshow_la_SOURCES = tvshow.c

video_tvshow_la_LIBADD = @ELEMENTARY_LIBS@
video_tvshow_la_LDFLAGS = -module -avoid-version
video_tvshow_la_CFLAGS = -Wall
video_tvshow_la_DEPENDENCIES = $(top_builddir)/config.h

uninstall:
	rm -rf $(DESTDIR)$(libdir)/emc/modules/input_$(MODULE).*

endif

